import axios from '@/libs/api.request'
const prefix = '/product/gamecoupon'
// 价格局数列表
export const getPriceLists = data => axios.request({
  url: `${prefix}/config/list`,
  method: 'post',
  data
})
// 价格局数新增
export const createPrice = data => axios.request({
  url: `${prefix}/config/create`,
  method: 'post',
  data
})
// 价格局数编辑
export const editPrice = data => axios.request({
  url: `${prefix}/config/edit`,
  method: 'post',
  data
})
// 价格局数删除
export const deletePrice = data => axios.request({
  url: `${prefix}/config/delete`,
  method: 'post',
  data
})
// 价格局数详情
export const getDetail = data => axios.request({
  url: `${prefix}/config/get`,
  method: 'post',
  data
})
// 价格局数关联验证
export const priceVerify = data => axios.request({
  url: `${prefix}/config/reference`,
  method: 'post',
  data
})
